package com.zw.pm.gen.entity;

import java.util.Date;

public class Message {
    private Integer id;

    private String content;

    private Date createTime;

    private Integer status;

    private String users;

    private Integer projectId;

    private Integer sendUserId;

    private Integer type;

    private Integer receiverUserId;

    public Message(Integer id, String content, Date createTime, Integer status, String users, Integer projectId, Integer sendUserId, Integer type, Integer receiverUserId) {
        this.id = id;
        this.content = content;
        this.createTime = createTime;
        this.status = status;
        this.users = users;
        this.projectId = projectId;
        this.sendUserId = sendUserId;
        this.type = type;
        this.receiverUserId = receiverUserId;
    }

    public Message() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getUsers() {
        return users;
    }

    public void setUsers(String users) {
        this.users = users == null ? null : users.trim();
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public Integer getSendUserId() {
        return sendUserId;
    }

    public void setSendUserId(Integer sendUserId) {
        this.sendUserId = sendUserId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getReceiverUserId() {
        return receiverUserId;
    }

    public void setReceiverUserId(Integer receiverUserId) {
        this.receiverUserId = receiverUserId;
    }
}